package com.guoxin.chapter1.isaliveothretest;

/**
 * @author guoxin
 * @date 2019/8/15
 */
public class Run {
    public static void main(String[] args) {
        CountOperate th = new CountOperate();
        Thread thread = new Thread(th);
        System.out.println("main begin thread isAlive="+th.isAlive());
        thread.setName("A");
        thread.start();
        System.out.println("main end thread isAlive="+th.isAlive());
    }
}
